package entity

import "time"

type CategoryBrandEntity struct {
	Id         int64     `gorm:"id;primary_key"`
	CreateTime time.Time `gorm:"create_time"` // 创建时间
	UpdateTime time.Time `gorm:"update_time"` // 更新时间
	BrandId    int64     `gorm:"brand_id"`    // 品牌id
	CategoryId int64     `gorm:"category_id"` // 分类id
}

func (*CategoryBrandEntity) TableName() string {
	return "category_brand"
}
